home *** CD-ROM | disk | FTP | other *** search
/ SuperView Productivity Suite 2 / SuperView Productivity Suite 2.iso / BONUS / PROGS / ModeP.lha / ModeP / ModeP.readme < prev    next >
Encoding:
Text File  |  1997-02-18  |  1.7 KB  |  48 lines

  1. Short: Improves BestModeID() on ECS/AGA, CyberGfx, Picasso
  2. Type: util/sys
  3. Uploader: Andreas_Kleinert@t-online.de
  4. Author: Andreas_Kleinert@t-online.de
  5.  
  6.  Due to various problem with graphic.library's BestModeID() function,
  7.  people began to complain about odd resolutions generated by
  8.  several subclass "picture" datatypes, which use this function, as
  9.  well as any image viewers, which did not work-around that for
  10.  themselves.
  11.  
  12.  This patch tries to improve this for AGA systems by patching
  13.  the more simple cases only. As long as
  14.  
  15.       BIDTAG_DIPFMustHave
  16.       BIDTAG_DIPFMustNotHave
  17.       BIDTAG_ViewPort
  18.       BIDTAG_MonitorID
  19.       BIDTAG_SourceID
  20.       BIDTAG_RedBits
  21.       BIDTAG_BlueBits
  22.       BIDTAG_GreenBits
  23.  
  24.  are *not* supplied, the new patch will take place, otherwise the
  25.  old BestModeID() function will take over.
  26.  
  27.  The patch works as follows:
  28.  
  29.    - get width, height, depth requirements
  30.    - check, whether CyberGraphX is installed
  31.      (if it is, then pass over to the corresponding CyberGraphX function),
  32.      else check, whether PicassoII or Picasso96 Emu (vilintuisup.library)
  33.      is installed (if it is, then pass over to the corresponding vilintuisup
  34.      function)
  35.    - after that, check if the ModeID is still 0L (LowRes) or whether
  36.      one of the emus did return an unavailable or INVALID_ID
  37.      and begin our own mode id generation (ECS/AGA sensitive)
  38.    - return the mode id
  39.  
  40.  Request for Discussion and Comments:
  41.  ------------------------------------
  42.  Note, that the plain ECS/AGA mode id generation is quite trivial and may
  43.  still be improveable, thus this patch includes its source code, and anyone
  44.  who likes, may improve it and publish the results.
  45.  
  46.  ---
  47.  All mentioned trademarks are subjects to their owners.
  48.